package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.BtyInventory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BtyInventoryMapper extends BaseMapper<BtyInventory> {

    int insertData(BtyInventory btyInventory);

    List<BtyInventory> selectMD(String dm);

    List<BtyInventory> selectXM_mx(String xm, String shopName, String startTime, String endTime);

    List<String> selectDM(@Param("dm") String dm);

    List<BtyInventory> selectData(String dm, String startTime, String endTime, String pl);

    BtyInventory selectRkAndTotalRkje(BtyInventory btyInventory);

    List<BtyInventory> selectMoney(BtyInventory btyInventory);

    List<String> select_dm();

    List<String> select_pl(String dm);

}
